﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>addDictionary</title>
    <script src="~/Content/BootstrapSouce/js/jquery.min.js"></script>
    <link href="~/Content/BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />
    <script src="~/Content/BootstrapSouce/js/bootstrap.min.js"></script>
</head>
<body>
    <div>
        <form action="/Dictionarys/adddictionary/@ViewBag.id" method="post">
            <table class="table">
                <tr>
                    <td class="text-center">字典类型</td>
                    <td>@Html.DropDownList("dropList")</td>
                </tr>
                <tr>
                    <td class="text-center">名称</td>
                    <td>
                        @if (ViewBag.name == null)
                        {
                            <input id="Text1" type="text" name="Dictionary_Name" />
                        }
                        else
                        {
                            <input id="Text1" type="text" name="Dictionary_Name" value="@ViewBag.name" />
                        }
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input id="Submit1" type="submit" value="添加" class="btn btn-primary" /></td>
            </tr>
        </table>
    </form>
        
        
    </div>
</body>
</html>
